//
//  BPUINavigationView.m
//  AFNetworking
//
//  Created by 404 on 2020/7/31.
//

#import "BPUINavigationView.h"

@implementation BPUINavigationView

- (void)didInitialize{
    [super didInitialize];
    _backButton = [[UIButton alloc] initWithFrame:CGRectMake(0, 0, 45, 44)];
    [_backButton setImage:UIImageMake(@"nav_back.png") forState:UIControlStateNormal];
    [self.backgroundView addSubview:_backButton];
    
    _rightButton = [[UIButton alloc] initWithFrame:CGRectMake(SCREEN_WIDTH - 60, 0, 40, 44)];
    [self.backgroundView addSubview:_rightButton];
     [_rightButton setTitleColor:[UIColor blackColor] forState:UIControlStateNormal];
     _rightButton.titleLabel.font = UIFontMake(14);
     _rightButton.hidden = YES;
}
@end
